A student of mine sent me a T-SQL challenge involving gap-filling of missing dates and balances. I found the challenge interesting and common enough and figured that my readers would probably find it interesting to work on as well. I’ll present the challenge and three possible solutions, as well as the results of a performance …
The post T-SQL Gap-Filling Challenge appeared first on Simple Talk.
This is the beginning of a series on SQL Server Dynamic Data Masking. Dynamic Data Masking is a concept familiar with all developers and users of sensitive data. It is implemented in SQL Server with simplicity and elegance, requiring minimal changes to front end applications, including reporting, and almost no changes to queries. The series …
The post Unmasking SQL Server Dynamic Data Masking, Part 1, Intro appeared first on Simple Talk.
In this article, we look at an enhancement to the ISJOSN function that allows you to validate whether the JSON format is valid for a value, array, or object.
.In this blog I will illustrate how we can ingest data from a blob storage to a Microsoft Fabric Data Warehouse using T-SQL. Create a new workspace On the left ribbon, click Workspaces. Click the New Workspace button. Provide a name for the workspace. On advanced configuration, ensure you choose Premium by Capacity, and you …
The post Microsoft Fabric: Data Warehouse Ingestion using T-SQL and more appeared first on Simple Talk.
This article is based on exciting information just released at Microsoft’s Build conference on May 23, 2023. What we have today When Synapse Analytics was created, technical sessions inspired me with some comparisons and explanations, and I reproduced them in my own technical sessions and writing. Synapse was created from a request from many Microsoft …
The post Data Intelligence on light speed: Microsoft Fabric appeared first on Simple Talk.
I just finished writing this book a few weeks ago, and as I read it, I thought “why not review my own book?” Of course, the question that first comes to mind is “are you insane?” It seems like a no-win proposition. Anything less than “best book evah” and it will seem like false modesty. …
The post Self Review: Practical Graph Structures in SQL Server and Azure SQL appeared first on Simple Talk.
Learn about Idera SQL Diagnostic Manager and how this performance monitoring tool can streamline and improve performance troubleshooting for your entire SQL Server environment.
Welcome back to the MySQL optimization series! In case you haven’t been following this series, in the past couple of articles we have discussed the basics of query optimization, and told you how to optimize SELECT queries for performance as well. In this blog, we’re further learning ways to optimize INSERT operations and look at …
The post Optimizing MySQL: Adding Data to Tables appeared first on Simple Talk.
In the first two articles of this series about PostgreSQL privileges, we reviewed how to create roles, grant them privileges to database objects, and how object ownership is an important aspect in managing access and control within the database. When it comes to managing what roles can access or modify an existing object, ownership is …
The post PostgreSQL Basics: A Template for Managing Database Privileges appeared first on Simple Talk.
Learn how to build a secure SQL Server REST API in minutes with DreamFactory which is middleware that connects all of your applications across the enterprise in a secure manner.
Oracle has provided a procedure VERIFY_STATS in the FND_STATS package to verify stats for the table in EBS This procedure reports the statistics in the data dictionary tables for the tables, indexes, and histograms. Syntax FND_STATS.VERIFY_STATS ( schemaname VARCHAR2 DEFAULT NULL, tablelist VARCHAR2 DEFAULT NULL, days_old NUMBER DEFAULT NULL, column_stat BOOLEAN DEFAULT FALSE); To verify […]
The post How to verify stats for the table in EBS appeared first on Techgoeasy.
The STATISTICS_LEVEL parameter was introduced in Oracle version 9 (9.2) to control allmajor statistics collections or advisories in the database. The level of the setting affects thea number of statistics and advisories that are enabled. These listed below are for 10g and above How to set this parameter This is a dynamic parameter and does […]
The post STATISTICS_LEVEL in Oracle appeared first on Techgoeasy.
In this post, we will check out how to move SQL Profiles from One Database to Another How to move the sql profiles Suppose you have created a sql profile in System A and Now you want to transfer that sql profile to System B. Step 1On System A: Creating a staging table to store […]
The post Move SQL Profiles from One Database to Another appeared first on Techgoeasy.
Learn about a new feature in SQL Server 2022 - Wait at Low Priority - that allows index creation to wait for resources to become available before executing.
In this article, learn how to use Always Encrypted to encrypt SQL Server data along with some of the changes that have been made since its first release in 2016.
We often experience performance issues because of the inaccurate statistics for the objects involved and we want to know what the difference is between the statistics of good time and bad time With 12c, we can use the DBMS_STATS procedure to find the difference between the statistics How to compare statistics using history for a […]
The post How to compare statistics using history for a table in Oracle appeared first on Techgoeasy.
Many times Oracle DBA while working on Windows might need to create environment variables like ORACLE_HOME, ORACLE_SID, and TNS_ADMIN. Here in this post, we will check How to create environment variables in Windows How to create environment variables in Windows Step 1: Log in to the server with a user who has an administrator privileged […]
The post How to create environment variables in Windows appeared first on Techgoeasy.
Learn about the process and principal components of building a data warehouse and learn about the five predominant architectures Independent Data Marts, Data Mart Buses, Hub-and-Spoke, Centralized Data Warehouses, and Federated.
Learn how to improve your database efficiency with SolarWinds Database Insights, which combines two enterprise-ready products: Database Performance Analyzer (DPA) and SQL Sentry.